﻿using System;
using System.Collections.Generic;

namespace CheckList
{
    public class reportKomplet
    {
        private string m_name;
        private int m_price;

        public reportKomplet(string name, int price)
        {
            m_name = name;
            m_price = price;
        }

        public string Name
        {
            get
            {
                return m_name;
            }
        }

        public int Price
        {
            get
            {
                return m_price;
            }
        }

    }

    // Define Business Object "Merchant" that provides a 
    //    GetProducts method that returns a collection of 
    //    Product objects.
    public class Merchant
    {
        private List<reportKomplet> m_products;

        public Merchant()
        {
            m_products = new List<reportKomplet>();
            m_products.Add(new reportKomplet("Pen", 25));
            m_products.Add(new reportKomplet("Pencil", 30));
            m_products.Add(new reportKomplet("Notebook", 15));
        }

        public List<reportKomplet> GetProducts()
        {
            return m_products;
        }
    }
}